Skip to content

Add building and container recipes#13

Closed
FabioTucciarone wants to merge 1 commit intoSimulation-Software-Engineering:mainfrom
FabioTucciarone:main
Closed

Add building and container recipes#13
FabioTucciarone wants to merge 1 commit intoSimulation-Software-Engineering:mainfrom
FabioTucciarone:main

Conversation

@FabioTucciarone
Copy link
Copy Markdown

Changes

  • Add Dockerfile based on ubuntu:24.04
  • Add CMakeLists
  • Uncomment usage of packages in main.cpp

Building

Build and run with Docker:

docker buildx build -t cmake-exercise
docker run -it --mount type=bind,src=.,dst=/mnt/host cmake-exercise
./build_and_run.sh

GitLab

Name: tucciafo

Copy link
Copy Markdown

@MakisH MakisH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything very clean and tidy, works as expected. Thanks!

cmake --build . && \
make install

ENV LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, LD_LIBRARY_PATH on the right hand side is undefined at this point.

@MakisH MakisH closed this Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants